export function copyToClipboard(event, page) {
  const content = event.target.dataset.content;
  wx.setClipboardData({
    data: content,
    success: () => {
      wx.showToast({
        title: '已复制到剪贴板',
        icon: 'success',
        duration: 2000,
      });
    },
  });
}
